from app.config import (
    REDIS_DB, REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, 
    REDIS_USER_PREFIX, REDIS_USER_EXPIRE,
    REDIS_GAME_PREFIX, REDIS_GAME_EXPIRE
)
from redis import Redis

xibie_redis = Redis(
    host=REDIS_HOST,
    port=REDIS_PORT,
    password=REDIS_PASSWORD,
    db=REDIS_DB,
    decode_responses=True
)

